<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page session="true" %>

<%@ include file="/WEB-INF/views/common/common.doctype.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 	<!-- Head Start -->
 	<%@ include file="/WEB-INF/views/common/common.head.jsp" %>
 </head>
 <style type="text/css" id="default">
 #listTable{
 	width: 690px;
 	border: solid black 1px;
 	/* height: 548px; */
 }
 #tableHead{
 	border: solid black 1px;
 }
 #td_no{
 	width: 50px;
 	height: 36px;
 	text-align: center;
 }
 #td_title{
 	widht: 380px;
 	height: 36px;
 }
  #td_title2{
 	padding-left: 20px;	
 	widht: 380px;
 	height: 36px;
 }
 #td_writer{
 	width: 120px;
 	height: 36px;
 }
 #td_date{
 	width: 90px;
 	height: 36px;
 }
 #td_cnt{
 	width: 55px;
 	height: 36px;
 }
 </style>
 <body>
 <div id="list">
 	<table id="listTable">
 		<tr id="tableHead">
 			<th id="td_no">번호</th><th id="td_title">제목</th><th id="td_writer">글쓴이</th><th id="td_date">날짜</th><th id="td_cnt">조회수</th>
 		</tr>
 		<c:forEach var="line" items="${list}">
	 		<tr>
	 			<td id="td_no">${line.noBoard}</td><td id="td_title2">${line.title}</td><td id="td_writer">${line.regDate}</td><td id="td_date">${line.writer}</td><td id="td_cnt">${line.viewCnt}</td>
	 		</tr>
 		</c:forEach>
 	</table>
 </div>
 
 </body>
</html>